﻿@model TumbaloSoft.Models.PersonaJuridica
@{
    Layout = "~/Views/Shared/_HomeLayout.cshtml";
    ViewBag.Title = "Su Inmueble";
}


<!-- content -->
<div class="body2">
	<div class="main">
		<section id="content">
			<div class="wrapper">

                        
                <article class="col5">
                <div>&nbsp</div>
                </article>

                <!--TODO-->
                <article class="col1" style="width: 660px">
                    <form id="form_1" method="post" style="height:100%">
                        <!--FORMULARIO-->

						<div class="pad1">
							<h2 class="pad_bot1 pad_top1">Registrar Su Inmueble</h2>

                            <!--DATOS DEL INMUEBLE-->
                                <h3 class="pad_bot1 pad_top1">Paso 1: Datos de la Empresa </h3>
                                    
                                <div>
                                    
                                    <!--NOMBRE-->
                                    <div class="row">
                                        <table style="width: 420px">
                                             <tr>
                                                <td style="width: 210px"><span>Razon Social:</span></td>
                                                <td style="width: 210px">     
                                                  @Html.TextBoxFor(model => model.prRazonSocial, new { @Class ="input", maxlength = "30", minlength = "1",placeholder = "Maximo 30 caracteres aqui"}) 
                                                  @Html.ValidationMessageFor(model => model.prRazonSocial) 
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                             
                                  <!--RUC-->
                                    <div class="row">
                                        <table style="width: 420px">
                                            <tr>
                                                <td style="width: 210px"><span>RUC*:</span></td>
                                                <td style="width: 210px">                                                                                                          
                                                        @Html.TextBoxFor(model => model.prRuc, new { @Class="input",maxlength = "11", minlength = "8"})
                                                        @Html.ValidationMessageFor(model=> model.prRuc)                                                          
                                                </td>
                                            </tr>
                                        </table>
                                    </div>


                                    <!--DIRECCION-->
                                    <div class="row">
                                        <table style="width: 420px">
                                            <tr>
                                                <td style="width: 210px"><span>Direccion*:</span></td>
                                                <td style="width: 210px"> 
                                                    @Html.TextBoxFor(model => model.prDireccion, new { @Class="input",maxlength = "50", placeholder = "Maximo 50 caracteres aqui"})
                                                    @Html.ValidationMessageFor(model=> model.prDireccion,null)
                                                </td>
                                            </tr>
                                        </table>  
                                    </div>
                                                          
                                    <!--E-MAIL-->
                                    <div class="row">
                                        <table style="width: 420px">
                                            <tr>
                                                <td style="width: 210px"><span>Email:</span></td>
                                                <td style="width: 210px"> 
                                                    @Html.TextBoxFor(model => model.prEmail, new { @Class="input",placeholder="ejemplo@dominio.com"})
                                                    @Html.ValidationMessageFor(model=> model.prEmail)
                                                </td>
                                            </tr>
                                        </table>            
                                    </div> 

                                   <!--TELEFONO-->
                                    <div class="row">
                                        <table style="width: 420px">
                                            <tr>
                                                <td style="width: 210px"><span>Telefono:</span></td>
                                                <td style="width: 210px"> 
                                                    @Html.TextBoxFor(model => model.prTelefono, new { @Class="input",maxlength = "9", minlength = "9"})
                                                    @Html.ValidationMessageFor(model=> model.prTelefono)
                                                </td>
                                            </tr>
                                        </table> 
                                    </div>

                                    <div class="objcentrado" >
                                        <span>&nbsp;</span>                                     
										    <a href="#"  class="button" onClick="document.getElementById('form_1').submit()">Guardar</a>                                                                                           
                                            <a href="#"  class="button" onClick="document.getElementById('form_1').reset()">Limpiar</a>
                                            <a href="..\Home\Index"  class="button" onClick="document.getElementById('form_1').cancel()">Cancelar</a>                                                    
                                            @if (@Model!=null){
                                            <br /><a href="/SuInmueble/RegistrarI?prIdPersona=@Model.prIdPersona">Siguiente</a>
                                            } 
                                    </div>



                               </div>
                        </div>
                    </form>
                </article>
			</div>
		</section>
	</div>
</div>
<!-- / content -->
		
		<script type="text/javascript"> Cufon.now(); </script>
